<template>
	<view class="team-pae">
		<view class="header-box">
			<Header>
				<template #header>
					<view class="header">
						<view class="left df-c">
							<view class="icon">
							</view>
							<text>任意推</text>
						</view>
						<view class="right df-c">
							<image src="@/static/home/search.png" mode="widthFix" class="icon"></image>
							<image src="@/static/home/notice.png" mode="widthFix" class="icon"></image>
						</view>
					</view>
				</template>
				<view class="bottom">
				</view>
			</Header>
		</view>
	</view>
</template>

<script setup>
	const login = () => {
		uni.navigateTo({
			url: '/pages/login/login'
		})
	}
</script>

<style lang="scss" scoped>
	.team-pae {
		display: flex;
		flex-direction: column;
		flex: 1;

		.header-box {
			position: sticky;
			top: 0;

			.header {
				height: 90rpx;
				display: flex;
				justify-content: space-between;
				align-items: center;
				padding: 0 30rpx;
				box-sizing: border-box;

				&>.left {
					font-weight: 400;
					font-size: 30rpx;
					color: #427DFF;

					&>.icon {
						width: 50rpx;
						height: 50rpx;
						border-radius: 50%;
						background-color: #427DFF;
						margin-right: 12rpx;
					}
				}

				&>.right {
					&>.icon {
						width: 30rpx;
					}

					&>.icon:first-child {
						margin-right: 30rpx;
					}
				}
			}

			.bottom {
				height: 260rpx;
				background: url('@/static/home/banner.png') no-repeat;
				background-position: center;
				background-size: 100% 100%;
			}
		}

	}
</style>